Threshold assessment-based programming